package com.my.study.mapper;

import com.my.study.entity.Role;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RoleMapper {
    /**
     * @mbg.generated generated automatically, do not modify!
     */
    int deleteByPrimaryKey(String id);

    /**
     * @mbg.generated generated automatically, do not modify!
     */
    int insert(Role row);

    /**
     * @mbg.generated generated automatically, do not modify!
     */
    Role queryRole(String roleId);

    /**
     * @mbg.generated generated automatically, do not modify!
     */
    List<Role> selectAll();

    /**
     * @mbg.generated generated automatically, do not modify!
     */
    int updateByPrimaryKey(Role row);
}